<ion-modal-view>
    <ion-header-bar class="drive-title">
        <h3 class="title" style="color: #ffffff;">开通账户</h3>
        <button ng-click="closeAddUserModal()" class="button button-clear button-light">取消</button>
    </ion-header-bar>
    <ion-content>
        <div class="list">
            <label class="item item-input">
                <span class="input-label">司机姓名</span>
                <input type="text" placeholder="输入司机姓名" ng-model="addUserForm.name">
            </label>
            <label class="item item-input">
                <span class="input-label">手机号码</span>
                <input type="text" placeholder="输入司机手机号" ng-model="addUserForm.phone">
            </label>
            <label class="item item-input">
                <span class="input-label">出生日期</span>
                <input type="date" placeholder="输入司机出生日期" ng-model="addUserForm.birthdayObj">
            </label>
            <label class="item item-input">
                <span class="input-label">车队编号</span>
                <input type="text" placeholder="输入司机车队编号" ng-model="addUserForm.licenseCode">
            </label>
            <label class="item item-input">
                <span class="input-label">身份证号</span>
                <input type="text" placeholder="输入司机身份证号" ng-model="addUserForm.idCard">
            </label>
            <label class="item item-input">
                <span class="input-label">领证时间</span>
                <input type="date" placeholder="输入司机领证时间" ng-model="addUserForm.licenseDateObj">
            </label>
            <label class="item item-input item-select">
                <span class="input-label">驾照类型</span>
                <select ng-model="addUserForm.license" class="text-center">
                    <option value="">请选择</option>
                    <option ng-repeat="item in licenseList track by $index" value="{{item.licenseType}}">
                        {{item.licenseName}}
                    </option>
                </select>
            </label>
            <div class="item" style="padding: 10px;">
                <div style="padding-bottom: 10px; padding-left: 6px;"><span>家庭地址</span></div>
                <div>
                    <textarea style="padding: 5px; width: 100%; border: 1px solid #eeeeee; border-radius: 5px;" rows="5"
                              placeholder="输入司机家庭地址" ng-model="addUserForm.address"></textarea>
                </div>
            </div>
        </div>
        <div style="padding: 10px;">
            <button class="button button-block button-energized button-drive" ng-click="addUserBtn()">确认</button>
        </div>
    </ion-content>
</ion-modal-view>